package com.th.cash.http


import com.th.basemodel.bean.BaseBean
import com.th.basemodel.bean.BaseBean2
import com.th.cash.th2.userliving.LivingInitRequest
import com.th.cash.th2.main.ProductApplyRequest
import com.th.cash.th2.userliving.LivingInitResponse
import com.th.cash.th2.main.ProductApplyResponse
import com.th.cash.th2.product.BankInfoRequest
import com.th.cash.th2.product.BankInfoResponse
import com.th.cash.th2.product.BaseInfoRequest
import com.th.cash.th2.product.BaseInfoResponse
import com.th.cash.th2.product.ContactInfoRequest
import com.th.cash.th2.product.ContactInfoResponse
import com.th.cash.th2.product.IdCardRequest
import com.th.cash.th2.product.IdCardResponse
import com.th.cash.th2.product.OrderUrlRequest
import com.th.cash.th2.product.OrderUrlResponse
import com.th.cash.th2.product.ProductDetailRequest
import com.th.cash.th2.product.ProductDetailResponse
import com.th.cash.th2.product.UploadIdCardResponse
import com.th.cash.th2.product.VerifySuccessResponse
import com.th.cash.th2.userliving.LivingLimitRequest
import com.th.cash.th2.userliving.LivingRidRequest
import com.th.cash.th2.userliving.LivingRidResponse
import com.th.cash.th2.userliving.SaveLivingRequest
import com.th.cash.th2.userliving.SaveLivingResponse
import okhttp3.MultipartBody
import retrofit2.http.Body
import retrofit2.http.GET
import retrofit2.http.POST
import retrofit2.http.Url

interface UserLivingApiService {

    @POST("bYBhmAromaXONco")
    suspend fun initLiveness(@Body request: LivingInitRequest): BaseBean<LivingInitResponse>

    @POST("dnjiYExhaustlessWxDqd")
    suspend fun getLivenessLimit(@Body request: LivingLimitRequest): BaseBean<Any>

    @POST("KMcTZBiffinGICDQ")
    suspend fun saveLiveness(@Body request: SaveLivingRequest): BaseBean<SaveLivingResponse>

    @POST
    suspend fun livingUpload(@Url url: String, @Body multipartBody: MultipartBody): BaseBean2

    @POST("gHlhpAdmonishVSZhv")
    suspend fun getLivingRid(@Body request: LivingRidRequest): BaseBean<LivingRidResponse>
}